﻿@using GameSchool.Models.AccountModels
@model GameSchool.Models.CourseStudents
<tr id="CourseStudentID-@Model.CourseStudentID" class="course-student">
    <td>
        @Html.DisplayFor(modelItem => AccountProfile.GetProfileByUserId(Model.StudentUserID).FullName)
    </td>
    @if (Model.IsInstructor)
    {
        <td>
            <input class="check-box" disabled="disabled" type="checkbox" checked="checked" />
        </td>
        <td>
            <input class="check-box" disabled="disabled" type="checkbox" />
        </td>
    }
    else
    {
        <td>
            <input class="check-box" disabled="disabled" type="checkbox" />
        </td>
        <td>
            <input class="check-box" disabled="disabled" type="checkbox" checked="checked" />
        </td>
    }
    <td>
        <div class="course-student-courseid" hidden="hidden">@Model.CourseID</div>
        <div class="course-student-studentUserId" hidden="hidden">@Model.StudentUserID</div>
        <a href="#" class="btn btn-mini course-student-remove">Fjarlægja</a>
    </td>
</tr>
